import { defineStore } from 'pinia'
export const SignalrStore = defineStore('signalrInstance', {
    state: () => {
        return { signalrInstance: null }
    },
    actions: {
        setSignalrInstance(instance) {
            this.signalrInstance = instance;
        },
        getSignalrInstance() {
            return this.signalrInstance;
        }
    }
})